package com.moss.system.mapper;

import com.moss.common.entity.SysSampleOrgEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SampleOrgMapper {

    List<SysSampleOrgEntity> selectList(SysSampleOrgEntity sampleOrg);

    SysSampleOrgEntity selectByCode(String sampleOrgCode);

    void insert(SysSampleOrgEntity sampleOrg);

    SysSampleOrgEntity selectById(Long id);

    void updateById(SysSampleOrgEntity sampleOrg);

    void deleteById(@Param("arr") Long[] ids);
}
